FROM ubuntu:20.04
LABEL description="A demo Dockerfile for build Hugo."
RUN apt-get update \
    && apt-get install -y hugo \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /docs

# Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z
EXPOSE 1313
ENTRYPOINT hugo serve --bind 0.0.0.0 --disableFastRender -e production -D

# docker build -t dailynuts/hugo:v0.68.3 .